home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3imgeff.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.0 KB  |  121 lines

  1.  
  2. // JavaScript wrapper for r3imgeff.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IMGEFF_H = 1;
  7. include("real/raytr/r3postpr.js")
  8.  
  9.  
  10. var R3CLID_IMAGEEFFECT = 831;
  11.  
  12.  
  13.  
  14.  
  15. // Description: add an image as an input
  16. // Returns: Boolean, TRUE if succeeded.
  17. // p3: Object, image to add
  18.  
  19. R3IMGEFFM_ADDINPUT = 831000;
  20.  
  21. function mR3IMGEFFM_ADDINPUT(p3) {
  22.   return   DoA(this.r3obj, 831000, p3, R3TID_OBJECT, 0);
  23. }
  24.  
  25. // Description: remove an image from the input list
  26. // Returns: Boolean, TRUE if succeeded.
  27. // p3: Object, image to add
  28.  
  29. R3IMGEFFM_REMOVEINPUT = 831001;
  30.  
  31. function mR3IMGEFFM_REMOVEINPUT(p3) {
  32.   return   DoA(this.r3obj, 831001, p3, R3TID_OBJECT, 0);
  33. }
  34.  
  35. // Description: remove all images from the input list
  36. // Returns: Boolean, TRUE if succeeded.
  37. // p3: Object, image to add
  38.  
  39. R3IMGEFFM_REMOVEALLINPUTS = 831002;
  40.  
  41. function mR3IMGEFFM_REMOVEALLINPUTS(p3) {
  42.   return   DoA(this.r3obj, 831002, p3, R3TID_OBJECT, 0);
  43. }
  44.  
  45. // Description: add an image as an output
  46. // Returns: Boolean, TRUE if succeeded.
  47. // p3: Object, image to add
  48.  
  49. R3IMGEFFM_ADDOUTPUT = 831003;
  50.  
  51. function mR3IMGEFFM_ADDOUTPUT(p3) {
  52.   return   DoA(this.r3obj, 831003, p3, R3TID_OBJECT, 0);
  53. }
  54.  
  55. // Description: remove an image from the output list
  56. // Returns: Boolean, TRUE if succeeded.
  57. // p3: Object, image to add
  58.  
  59. R3IMGEFFM_REMOVEOUTPUT = 831004;
  60.  
  61. function mR3IMGEFFM_REMOVEOUTPUT(p3) {
  62.   return   DoA(this.r3obj, 831004, p3, R3TID_OBJECT, 0);
  63. }
  64.  
  65. // Description: remove all images from the output list
  66. // Returns: Boolean, TRUE if succeeded.
  67. // p3: Object, image to add
  68.  
  69. R3IMGEFFM_REMOVEALLOUTPUTS = 831005;
  70.  
  71. function mR3IMGEFFM_REMOVEALLOUTPUTS(p3) {
  72.   return   DoA(this.r3obj, 831005, p3, R3TID_OBJECT, 0);
  73. }
  74.  
  75.  
  76.  
  77.  
  78. R3IMGEFFA_InputCount = 831500;
  79. function GetR3IMGEFFA_InputCount() {
  80.   return R3Get(this.r3obj, R3IMGEFFA_InputCount, R3TID_INTEGER, 0); 
  81. }
  82.  
  83. R3IMGEFFA_OutputCount = 831501;
  84. function GetR3IMGEFFA_OutputCount() {
  85.   return R3Get(this.r3obj, R3IMGEFFA_OutputCount, R3TID_INTEGER, 0); 
  86. }
  87.  
  88. R3IMGEFFA_InputList = 831502;
  89. function GetR3IMGEFFA_InputList() {
  90.   return R3Get(this.r3obj, R3IMGEFFA_InputList, R3TID_LIST, R3TNF_ARRAY); 
  91. }
  92.  
  93. R3IMGEFFA_OutputList = 831503;
  94. function GetR3IMGEFFA_OutputList() {
  95.   return R3Get(this.r3obj, R3IMGEFFA_OutputList, R3TID_LIST, R3TNF_ARRAY); 
  96. }
  97.  
  98.  
  99.  
  100. function r3Imageeffect () { 
  101.    this.base = r3God;
  102.    if(arguments.length) {
  103.       this.base(R3CLID_IMAGEEFFECT, arguments);
  104.    }
  105.    // Methods
  106.    this.ADDINPUT=mR3IMGEFFM_ADDINPUT;
  107.    this.REMOVEINPUT=mR3IMGEFFM_REMOVEINPUT;
  108.    this.REMOVEALLINPUTS=mR3IMGEFFM_REMOVEALLINPUTS;
  109.    this.ADDOUTPUT=mR3IMGEFFM_ADDOUTPUT;
  110.    this.REMOVEOUTPUT=mR3IMGEFFM_REMOVEOUTPUT;
  111.    this.REMOVEALLOUTPUTS=mR3IMGEFFM_REMOVEALLOUTPUTS;
  112.  
  113.    // Attributes
  114.    this.GetInputCount=GetR3IMGEFFA_InputCount;
  115.    this.GetOutputCount=GetR3IMGEFFA_OutputCount;
  116.    this.GetInputList=GetR3IMGEFFA_InputList;
  117.    this.GetOutputList=GetR3IMGEFFA_OutputList;
  118. }
  119.  
  120. r3Imageeffect.prototype=new r3Postprocessor;
  121. // r3imgeff.h_H